$OpenBSD: patch-src_libsync_utility_cpp,v 1.7 2017/05/11 06:18:03 kirby Exp $
--- src/libsync/utility.cpp.orig	Mon May  8 16:53:10 2017
+++ src/libsync/utility.cpp	Wed May 10 10:56:28 2017
@@ -212,8 +212,8 @@ qint64 Utility::freeDiskSpace(const QString &path)
         return (qint64) stat.f_bavail * stat.f_frsize;
     }
 #elif defined(Q_OS_UNIX)
-    struct statvfs64 stat;
-    if (statvfs64(path.toLocal8Bit().data(), &stat) == 0) {
+    struct statvfs stat;
+    if (statvfs(path.toLocal8Bit().data(), &stat) == 0) {
         return (qint64) stat.f_bavail * stat.f_frsize;
     }
 #elif defined(Q_OS_WIN)
